package work2.phone;

public class Test3 {
    public static void main(String args[]){
        CallMenu menu = new CallMenu();
        PhoneCard card = new PhoneCard(PhoneCard.TYPE_VERY_SMALL,889,"张三","12346","30",20);
        menu.setInfo(50,card);
        menu.setInfoNum(20);
        menu.setFee("30");
        menu.showInfo();
        menu.getCard().show();


        InternetMenu menu1 = new InternetMenu();
        PhoneCard card1 = new PhoneCard(PhoneCard.TYPE_BIG,13546,"李四","12346","888",330);
        menu1.setInfo(1000,card1);
        menu1.setFee("50");
        menu1.showInfo();
        menu1.getCard().show();


        System.out.println("枚举类型大卡打印：" );
        EnumCard.BIG.show();
    }
}
